/**
 * 
 */
package com.jquery.ui.dictionary;

/**
 * @author linyajun
 * 
 * @date	2013-9-23
 * @description   
 */
public enum IHeightStyleEnum {

	fill("fill"),content("content");

	private String value;
	
	private IHeightStyleEnum(String value){
		
		this.value=value;
	}
	
	
	public static IHeightStyleEnum parseValue(String value){
		
		
		if (value!=null&&content.getValue().equals(value)) {
			return IHeightStyleEnum.content;
		}else if (value!=null&&fill.getValue().equals(value)) {
			return IHeightStyleEnum.fill;
		}
		return IHeightStyleEnum.content;
		
	}
	

	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}

	/**
	 * @param value the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}
	
	
}
